import { DEFAULT_LAYOUT,REPORT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const PROFILE: AppRouteRecordRaw = {
  path: '/report',
  name: 'report',
  component: REPORT_LAYOUT,
  meta: {
    locale: '数据上报',
    requiresAuth: true,
    icon: 'icon-cloud',
    order: 11,
    roles: ['*'],
  },
  children: [
    {
      path: 'reportUpload',
      name: 'reportUpload',
      component: () => import('@/views/report/dataUpload.vue'),
      meta: {
        locale: '整改整治工作上报',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: 'dataUpload',
      name: 'dataUpload',
      component: () => import('@/views/data/dataUpload.vue'),
      meta: {
        locale: '汇总数据上报',
        requiresAuth: true,
        roles: ['*'],
      },
    },
  ],
};

export default PROFILE;
